feat(cli): scaffold wrangler.jsonc in astro add#14564
Conversation
🦋 Changeset detectedLatest commit: 895153f The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
So this makes it so astro add cloudflare assumes Cloudflare works projects instead of Cloudflare pages projects and workers projects also need the public/.assetsignore workaround mentioned here https://docs.astro.build/en/guides/integrations-guide/cloudflare/#routing-on-cloudflare-workers Can we add this too? |
CodSpeed Performance ReportMerging #14564 will not alter performanceComparing Summary
|
|
Shouldn't this be a |
|
I don't think it needs to be a minor but we could talk about it in 5.15 either way. No strong opinion on this! |
The title of the PR is definitely misleading then |
|
@florian-lefebvre If this changes the behaviour of |
|
2 things:
|
|
Regarding docs I think now we have https://docs.astro.build/en/guides/deploy/cloudflare/#cloudflare-workers and https://docs.astro.build/en/guides/deploy/cloudflare/#cloudflare-pages which will sort of need to be inverted and https://docs.astro.build/en/guides/integrations-guide/cloudflare/#preview-with-wrangler can change to https://docs.astro.build/en/guides/integrations-guide/cloudflare/#sessions has mention to |
Co-authored-by: Oliver Speir <115520730+OliverSpeir@users.noreply.github.com>
|
@OliverSpeir @florian-lefebvre Are one of you able to make a docs PR with the suggested/necessary changes? I am not really familiar with Cloudflare, but can certainly grok proposed changes in a PR! |
|
I am not very familiar with it either unfortunately, so @OliverSpeir if you don't mind I think it'd be better if you took this! At least as a first step. EDIT: I'll open a PR to at least have something to get started |
|
Will note, maybe we can nerd snipe @Adammatthiesen here, too! Calling in all Cloudflare reinforcements! |
Co-authored-by: Oliver Speir <115520730+OliverSpeir@users.noreply.github.com>
Co-authored-by: Oliver Speir <115520730+OliverSpeir@users.noreply.github.com>
Changes
Testing
Manual
Docs
Changeset, withastro/docs#12603